package com.woniuxy.project115.kaer.tenant.service;

import com.alipay.api.domain.PageInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.project115.kaer.tenant.entity.Appointment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.project115.kaer.tenant.param.AddAppointmentParam;
import com.woniuxy.project115.kaer.tenant.param.AppointmentItemParam;
import com.woniuxy.project115.kaer.tenant.param.GetAppointmentParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuH
 * @since 2025年02月18日
 */
public interface AppointmentService extends IService<Appointment> {

    void addAppointment(AddAppointmentParam param, Integer userId) throws Exception;

    void userCancelAppointment(Integer appointmentId) throws Exception;

    void confirm(Integer appointmentId) throws Exception;

    Page<Appointment> getAppointment(GetAppointmentParam param, Integer storeId) throws Exception;
}
